using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevComponents.DotNetBar;
using BussinessEntity;

namespace PresentationLayer
{
    public partial class frmReceiptPrint : DevComponents.DotNetBar.OfficeForm
    {
        Receipt Receipt;

        public frmReceiptPrint(Receipt Receipt)
        {
            InitializeComponent();
            this.Receipt = Receipt;
        }

        private void frmReceiptPrint_Load(object sender, EventArgs e)
        {
            ReceiptBindingSource.DataSource = this.Receipt;
            this.reportViewer1.RefreshReport();
        }
    }
}